package com.sheepjin.design_pattern.行为型模式.模板模式;

import com.sheepjin.design_pattern.行为型模式.模板模式.entity.Game;
import com.sheepjin.design_pattern.行为型模式.模板模式.entity.MobaGame;
import com.sheepjin.design_pattern.行为型模式.模板模式.entity.RgbGame;

/**
 * @Author yangjin
 * @Description 模板模式测试类
 * @Date 2022/5/31/下午 4:59
 **/
public class TemplatePatternDemoTest {

    public static void main(String[] args) {
        Game mobaGame = new MobaGame();
        mobaGame.playGame();

        System.out.println();
        System.out.println();

        Game rgbGame = new RgbGame();
        rgbGame.playGame();
    }
}
